projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
013aee1
)
* lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*
author
Alan Mackenzie
<acm@muc.de>
Sun, 2 May 2021 15:22:36 +0000
(15:22 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sun, 2 May 2021 15:25:14 +0000
(15:25 +0000)
This should solve part of bug #48100.
lisp/progmodes/cc-defs.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-defs.el
b/lisp/progmodes/cc-defs.el
index 4f79fa9b330c0b58efeccce72f30f2388dc794da..02292327581a8af68703a2fdc10ccef3d2af8f3b 100644
(file)
--- a/
lisp/progmodes/cc-defs.el
+++ b/
lisp/progmodes/cc-defs.el
@@
-615,7
+615,7
@@
must not be within a `c-save-buffer-state', since the user then
wouldn't be able to undo them.
The return value is the value of the last form in BODY."
- (declare (debug
t
) (indent 1))
+ (declare (debug
let*
) (indent 1))
(if (fboundp 'with-silent-modifications)
`(with-silent-modifications (let* ,varlist ,@body))
`(let* ((modified (buffer-modified-p)) (buffer-undo-list t)